﻿

namespace Huirui.Cavan.Core.Persistent
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Linq.Expressions;

    public interface ISpecification<T, TSearch> : ISpecification<T>
        where T : class
        where TSearch : class,ISearch
    {
        TSearch SearchParams { get; set; }
    }

    public interface ISpecification<T> : ISpecification
        where T : class
    {
        Expression<Func<T, bool>> Expression { get; }
    }

    public interface ISpecification
    {
    }

    
}
